<?php
	namespace Common\Model;
	use Think\Model;
	class OrdersModel extends Model{
		protected $tableName = 'orders';
		protected $fields = array(
			'id','order_id','supplier_id','user_id','total_nums','toal_weight','delivery_cost','freight_type','freight_price','discount_price','product_amount','total_amount','currency','is_pay','pay_type','pay_no','pay_price','pay_time','address_type','express_type','status','deliver_time','order_desc','is_deliver','source','is_deleted','sync_status','sync_time','memo','op_id','addtime','total_integral',
			'_pk' => 'id','_autoinc'=>true
		);
	}
?>